$(function(){
	$.ajax({
		url:'../userController/getOnUserList',
		success:function(data){
			console.log(data);
			if(data==null || data=="" ||data.length==0){
				 $(".matchList").html("<div><img src='../image/none.jpg' style='width: 300px;height:300px;margin-left: 225px;margin-top:100px;'></div>");
			}else{
				$(".matchList").html("");
				$.each(data,function(idex,item){
					$(".matchList").append("<div class='box'><div class='gamePicBox'><img class='gamePic' src='"+item.wx_avatar+"'></div><div class='gameContentBox'><div class='gameTitle'>"+item.wx_name+"</div></div><div class='gameSignUp'><div class='beginTime'>订单数量:<label class='orderCount'>"+item.orderCount+"</label></div><div class='look'>成交金额:<label class='priceCount'>￥"+item.priceCount.toFixed(2)+"</label></div></div></div>")
				})	
			}
			
		}
	})
})